/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.eng.scc.core.data;

import java.sql.Date;

/**
 *
 * @author Rafael
 */
public class People extends Skeleton
{
    public static final short MALE = 0;
    public static final short FEMALE = 1;
    
    private int addressId;

    public int getAddressId()
    {
        return addressId;
    }

    public void setAddressId( int addressId )
    {
        this.addressId = addressId;
    }
    private String email = "";
    private String cpf = "";
    private String rg = "";
    private Date birthday;
    private short gender;
    private String fixPhone = "";
    private String mobilePhone = "";
    private short state;

    public String getEmail()
    {
        return email;
    }

    public void setEmail( String email )
    {
        this.email = email;
    }

    public String getCpf()
    {
        return cpf;
    }

    public void setCpf( String cpf )
    {
        this.cpf = cpf;
    }

    public String getRg()
    {
        return rg;
    }

    public void setRg( String rg )
    {
        this.rg = rg;
    }

    public Date getBirthday()
    {
        return birthday;
    }

    public void setBirthday( Date birthday )
    {
        this.birthday = birthday;
    }

    public short getGender()
    {
        return gender;
    }

    public void setGender( short gender )
    {
        this.gender = gender;
    }

    public String getFixPhone()
    {
        return fixPhone;
    }

    public void setFixPhone( String fixPhone )
    {
        this.fixPhone = fixPhone;
    }

    public String getMobilePhone()
    {
        return mobilePhone;
    }

    public void setMobilePhone( String mobilePhone )
    {
        this.mobilePhone = mobilePhone;
    }

    public short getState()
    {
        return state;
    }

    public void setState( short state )
    {
        this.state = state;
    }

    @Override
    public boolean equals( Object obj )
    {
        if ( obj == null )
        {
            return false;
        }
        if ( getClass() != obj.getClass() )
        {
            return false;
        }
        final People other = ( People ) obj;
        if ( this.getId() != other.getId() )
        {
            return false;
        }
        return true;
    }
}
